package com.th.supcom.pds.dispensedrug.client.service;

import java.util.Date;
import java.util.List;

import net.carefx.framework.container.client.exception.UiException;

import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.th.supcom.pds.auditprescription.client.model.PdsPrescCombineModel;
import com.th.supcom.pds.common.client.commom.PdsAuditPrescServiceFactory;
import com.th.supcom.pds.internal.client.model.ResultModel;
import com.th.supcom.pds.sortingdrug.client.model.PdsPrescDetailInfoModel;

/**
 * PdsPresc 服务接口.
 * 
 * 处方主记录.
 */
@RemoteServiceRelativePath (PdsAuditPrescServiceFactory.BASE_URL + "pdsPresc.do")
public interface PdsSupplyRpc extends RemoteService
{

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";

 /*   *//**
     * 通过患者ID，时间段 查询所有的处方号
     * 
     * @param patientId
     * @param enterDate
     * @return
     * @throws UiException
     *//*
    public List <String> findPrescNoListByPatientId (String patientId, Date enterDate) throws UiException;

    *//**
     * 添加信息.
     * 
     * @param Model
     * @throws UiException 界面异常
     *//*
    public void addPdsPresc (PdsPrescDetailInfoModel model) throws UiException;

    *//**
     * 
     * @param pdsPrescCombineModel
     * @return
     * @throws UiException
     *//*
    public List <PdsPrescCombineModel> getCombinePdsPrescListByExample (PdsPrescCombineModel pdsPrescCombineModel, String IP) throws UiException;

    *//**
     * 根据消费凭证号或者处方号查询记录
     * 
     * @param rcptNo
     * @param prescNo
     * @return
     * @throws UiException
     *//*
    public ResultModel getCombinePdsPrescListByRcptNo (String rcptNo, String prescNo) throws UiException;

    *//**
     * 查询信息.
     * 
     * @param Model
     * @throws UiException 界面异常
     *//*
    public PdsPrescDetailInfoModel getPdsPrescById (Long id) throws UiException;

    *//**
     * 
     * @param pdsPrescDetailInfoModel
     * @return
     * @throws UiException
     *//*
    public List <PdsPrescDetailInfoModel> getPdsPrescListByExample (PdsPrescDetailInfoModel pdsPrescDetailInfoModel) throws UiException;

    *//**
     * 分页查询信息.
     * 
     * @param config
     * @return
     *//*
    public PagingLoadResult <PdsPrescDetailInfoModel> getPdsPrescListWithPaging (PagingLoadConfig config);

    *//**
     * 修改信息.
     * 
     * @param Model
     * @throws UiException 界面异常
     *//*
    public void modifyPdsPresc (PdsPrescDetailInfoModel model) throws UiException;
*/
   /* *//**
     * 删除信息.
     * 
     * @param code
     * @throws UiException 界面异常
     *//*
    public void removePdsPresc (Long id) throws UiException;*/
}